﻿namespace Admin.NET.Application;

/// <summary>
/// 接收的SocketDatat输出参数
/// </summary>
public class ReceiveDataOutput
{
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 版本
    /// </summary>
    public byte? Version { get; set; }
    
    /// <summary>
    /// 命令
    /// </summary>
    public byte? Cmd { get; set; }
    
    /// <summary>
    /// 路由ID
    /// </summary>
    public int? RouteId { get; set; }
    
    /// <summary>
    /// 盲板ID
    /// </summary>
    public int? BlindId { get; set; }
    
    /// <summary>
    /// NC空白
    /// </summary>
    public Int16? Blank { get; set; }
    
    /// <summary>
    /// 管道
    /// </summary>
    public byte? Pipe { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public byte? Snr { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public byte? Rssi { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public byte? Rssiflag { get; set; }
    
    /// <summary>
    /// NC空白
    /// </summary>
    public Int16? Blank2 { get; set; }
    
    /// <summary>
    /// unix时间戳
    /// </summary>
    public int? Timetick { get; set; }
    
    /// <summary>
    /// 时间
    /// </summary>
    public DateTime? EventTime { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public byte? Online { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public Int16? Onnet { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public Int16? Datalen { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public string? Data { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public virtual string? Data2 { get; set; }
    /// <summary>
    /// 
    /// </summary>
    public virtual string? AllData { get; set; }


    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }
    
    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }
    
    /// <summary>
    /// 创建者Id
    /// </summary>
    public long? CreateUserId { get; set; }
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者Id
    /// </summary>
    public long? UpdateUserId { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }
    
    /// <summary>
    /// 软删除
    /// </summary>
    public byte IsDelete { get; set; }
    
    }
 

